package cn.calm.osgi.conter.util;

import java.util.HashMap;
import java.util.Map;

public class DtdUtil {
	static Map<String, String> mappings ;
	static{
		mappings = new HashMap<String, String>();
		mappings.put("-//Apache Struts//XWork 2.3//EN", "xwork-2.3.dtd");
		mappings.put("-//Apache Struts//XWork 2.1.3//EN", "xwork-2.1.3.dtd");
		mappings.put("-//Apache Struts//XWork 2.1//EN", "xwork-2.1.dtd");
		mappings.put("-//Apache Struts//XWork 2.0//EN", "xwork-2.0.dtd");
		mappings.put("-//Apache Struts//XWork 1.1.1//EN", "xwork-1.1.1.dtd");
		mappings.put("-//Apache Struts//XWork 1.1//EN", "xwork-1.1.dtd");
		mappings.put("-//Apache Struts//XWork 1.0//EN", "xwork-1.0.dtd");
		mappings.put(
				"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN",
				"struts-2.3.dtd");
		mappings.put(
				"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN",
				"struts-2.0.dtd");
	}
	public static Map<String, String> getDtdMap() {

		
		return mappings;
	}
}
